<!--人才库添加-->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 导入头部top文件 start -->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>招聘系统</title>

    <meta name="keywords" content="招聘系统">
    <meta name="description" content="招聘系统">

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <link href="${path}/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${path}/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${path}/static/css/ui-dialog.css?v=4.0.0" rel="stylesheet">
    <link href="${path}/static/css/animate.min.css" rel="stylesheet">
    <link href="${path}/static/css/main.css?v=1.0.0" rel="stylesheet">
    <link href="${path}/static/css/reset.css?v=1.0.0" rel="stylesheet">
    <script>
        var G_Path = {
            path: "${path}"
        };
        var staticServer = "${baseConfig.staticServer}";
    </script>
</head>
<body>
<div class="zp_pageCenter">
    <div class="zp_personnel">
        简历信息
        <input id="jobId" name="jobId" type="hidden">
        <button class="btn btn-success fr job_select" id="selectJob" name="selectJob">选择职位</button>
    </div>
    <div class="zp_personnel_content">
        <div class="zp_personnel_info">
            <h3>${model.name}</h3>
            <h4>${model.intro}</h4>
            <p> ${model.workExperience}/ ${model.educationName} /${model.cityName}</p>
            <p>手机：${model.mobile}  邮箱：${model.email}</p>
        </div>
        <div id="details"></div>
        <div class="zp_divider">
            <span class="zp_line"></span>
            <span class="zp_dividerName tc">期望工作</span>
            <span class="zp_line"></span>
        </div>
        <div class="zp_personnel_model">
            <div class="row zp_personnel_hope tc">
                <div class="col-sm-3">
                    java开发工程师
                </div>
                <div class="col-sm-3">
                    全职
                </div>
                <div class="col-sm-3">
                    上海
                </div>
                <div class="col-sm-3">
                    5k-10k
                </div>
            </div>
        </div>
        <div class="zp_test"></div>
    </div>
</div>

<script src="/static/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="/static/js/plugins/dialog/dialog-min.js"></script>
<script src="/static/js/plugins/dialog/dialog-plus-min.js"></script>
<script src="/static/js/cateDialog.js"></script>

<script src="/static/js/admin/resumeDetails.js"></script>
<script type="text/javascript">
    var id = "${model.id}";
    var status = "${status}";
    (function () {
        var param = "${model.id}";
        var el = $("#details").details({
            eUrl: "/resume/education/experience/json?resumeId=" + param,
            wUrl: "/resume/work/experience/json?resumeId=" + param,
            pUrl: "/resume/person/description/json?resumeId=" + param,
        });
    })(jQuery);
    $(document).ready(function () {
        $("#selectJob").click(function () {
            $("#selectJob").cate({
                title: "",
                url: G_Path.path + "/job/name",
                param: {},
                liveSearch: false,
                "id": "jobId",
                width:240,
                callback: function (item,model) {
                    var jobId = $("#jobId").val();
                    console.log("jobId: "+jobId);
                    $.get(G_Path.path + "/job/resume/inbox/save?jobId=" + jobId + "&resumeId=" + id, function (text) {
                        var data = $.parseJSON(text);
                        if (data.success) {
                            alert("选择成功");
                        }
                    });
                }
            });
        })
    })
</script>

</body>
</html>
